#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
int main()
{
	int a,b,c;
	scanf("%d", &a);
	b = 0;
	c = a;
	while(a)
	{
		b = b * 10 + a % 10;
		a /= 10;
	}
	if (b == c)
	{
		printf("yes");
    }
	else {
		printf("no");
	}
	return 0;
}